<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import HelloWorld from './components/HelloWorld.vue'
</script>

<template>
  <header>
    <nav>
        <RouterLink to="/">Home</RouterLink>
        <RouterLink to="/about">About</RouterLink>
        <RouterLink to="/houseAdd">添加</RouterLink>
        <RouterLink to="/houseShow">显示</RouterLink>
        
      </nav>
  </header>

  <RouterView />
</template>

<style scoped>
a{margin: 0 10px;}
</style>
